<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>密码重置</title>
	<%@include file="common/head.jsp" %>
	<link href="${staticPath}/qtimages/images/apple-touch-icon.png" rel="apple-touch-icon">
	<link href="${staticPath}/qtimages/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/lib/animate/animate.min.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/lib/magnific-popup/magnific-popup.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link href="${staticPath}/qtimages/css/style.css" rel="stylesheet">
	<link rel="stylesheet" href="${staticPath}/qtimages/css/custom.css">
	<link rel="stylesheet" href="${staticPath}/images/hsgcommon/divqt.css" type="text/css">
	<script type="text/javascript" src="${staticPath}/js/popup.js"></script>
	<script language="javascript">
		function resetPw() {
			var loginname = $('#loginname').val().trim();;
			var xingming = $('#xingming').val().trim();
			var dianhua = $('#dianhua').val().trim();
			if (loginname == "") {
				alert("用户名称不能空");
				return;
			}
			if (xingming == "") {
				alert("姓名不能空");
				return;
			}
			if (dianhua == "") {
				alert("电话不能空");
				return;
			}
			var param = {
				'loginname':loginname,
				'xingming':xingming,
				'dianhua':dianhua,
			};
			$.post(basePath + '/usersResetPw', param, function(resp) {
				var pop=new Popup({ contentType:4,isReloadOnClose:false,width:250,height:100});
				if (resp.success) {
					pop.setContent("title","温馨提示");
					pop.setContent("alertCon",resp.data);

				}else {
					pop.setContent("title","温馨提示");
					pop.setContent("alertCon",resp.message);
				}
				pop.build();
				pop.show();
			})
		}
	</script>
</head>
<body>
<%@ include file="qttop.jsp" %>
<%@ include file="bht.jsp" %>
<main id="main">
	<section id="services" class="wow fadeInUp">
		<div class="container">
			<div class="section-header">
				<h2>◇◆ 重置密码 ◆◇</h2>
			</div>
			<div class="row">
				<form>
					用户名称:<input type="text" style='border:solid 1px #000000; color:#666666' name="loginname" id="loginname" size="12px" />&nbsp;&nbsp;
					姓名:<input type="text" style='border:solid 1px #000000; color:#666666' name="xingming" id="xingming" size="12px" />&nbsp;&nbsp;
					电话:<input type="text" style='border:solid 1px #000000; color:#666666' name="dianhua" id="dianhua" size="12px" />&nbsp;&nbsp;
					<input type="button" onclick="resetPw();" value="重置密码" class='hsgqiehuanshitu'/>
				</form>
			</div>
		</div>
	</section>
	<%@ include file="qtdown.jsp" %>
</main>
</body>
</html>
